<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
    <div class="wrapper wrapper-content">
        <form id="searchForm">
        <div class="btn-group hidden-xs" id="toolbar1" role="group">
            <div  class="col-xs-3">
                <div class="input-group">
                    <div class="input-group-btn">
                        <button class="btn btn-white" type="button">类型</button>
                    </div>
                    <select class="form-control input-s-sm inline" id="wcType"
                            th:with="type=${@dictService.selectDictData('reward_type')}">
                        <option value="">请选择</option>
                        <option th:each="e : ${type}" th:text="${e['dictLabel']}" th:value="${e['dictValue']}"></option>
                    </select>
                </div>
            </div>
            <div  class="col-xs-3">
                <div class="input-group">
                    <div class="input-group-btn">
                        <button class="btn btn-white" type="button">是否审核</button>
                    </div>
                    <select class="form-control input-s-sm inline" id="wsToExamine"
                            th:with="type=${@dictService.selectDictData('biz_yes_no_two')}">
                        <option value="">请选择</option>
                        <option th:each="e : ${type}" th:text="${e['dictLabel']}" th:value="${e['dictValue']}"></option>
                    </select>
                </div>
            </div>
        </div>
        </form>
        <div class="btn-group hidden-xs" id="toolbar" role="group">
	        <button type="button" class="btn btn-outline btn-default" onclick="add()" shiro:hasPermission="manage:withdrawalConfig:add">
	            <i class="fa fa-plus"></i> 新增
	        </button>
	        <button type="button" class="btn btn-outline btn-default" onclick="batchRemove()" shiro:hasPermission="manage:withdrawalConfig:batchRemove">
	            <i class="fa fa-trash-o"></i> 删除
	        </button>
            <label style="margin-left: 10px" type="button" class="btn btn-primary" onclick="resetForm()" id=""><i
                    class="fa fa-paper-plane"></i>&nbsp;重置
            </label>
            <label style="margin-left: 10px" type="button" class="btn btn-primary" onclick="search()" id=""><i
                    class="fa fa-search"></i>&nbsp;搜索
            </label>
        </div>
        <table class="bootstrap-table" data-mobile-responsive="true">
        </table>
    </div>
    <div th:include="include :: footer"></div>
    <script src="/static/reasahi/js/ry-table.js?v=1.1.6" th:src="@{/reasahi/js/ry-table.js?v=1.1.6}"></script>
    <script src="/reasahi/manage/withdrawalConfig/withdrawalConfig.js" th:src="@{/reasahi/manage/withdrawalConfig/withdrawalConfig.js}"></script>
    <script th:inline="javascript">
        var editFlag = [[${@permissionService.hasPermi('manage:withdrawalConfig:edit')}]];
        var removeFlag = [[${@permissionService.hasPermi('manage:withdrawalConfig:remove')}]];
        var uvChannel = [[${uvChannel}]];
        function resetForm() {
            cmResetForm();
            search();
        }
    </script>
</body>
</html>